package com.pets.dao;

import com.pets.entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    Users getUsersByName(@Param("uName")String uName);

    Users getUsersByPhone(@Param("uPhone")String uPhone);

    List<Users> getAllUserlist();
}